package com.example.activiti7.domain.model.req;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

@Schema(description = "请求发布对象")
public class DeployReq extends BaseRequest {
    @Schema(description = "流程设计ID", required = true, requiredMode = Schema.RequiredMode.REQUIRED)
    private String modelId;
    @Schema(description = "候选用户,需要指定流程定义权限时使用")
    private List<String> candidateUsers;
    private String key;
    private String category;


    public String getModelId() {
        return modelId;
    }

    public void setModelId(String modelId) {
        this.modelId = modelId;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public List<String> getCandidateUsers() {
        return candidateUsers;
    }

    public void setCandidateUsers(List<String> candidateUsers) {
        this.candidateUsers = candidateUsers;
    }
}
